<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS权重注意点</title>
    <style>
        #father {
            color: red;
        }

        p {
            color: pink;
        }

        body {
            color: pink;
        }

        /* a链接浏览器默认一个样式 蓝色的 有下划线 */
        a {
            color: green;
        }
    </style>
</head>

<body>
    <div id="father">
        <p>中秋快乐！</p>

    </div>
    <a href="#">我是单独的样式</a>
</body>

</html>